#ifndef HORDE_H
#define HORDE_H
#include <vector>
#include "Thing.h"
#include "Shot.h"
#include "Enemy.h"

#define HORDE_SIZE 8

class Horde
{
private:
    enum e_moveDirection{MOVE_LEFT,MOVE_RIGHT};
public:
    Horde();
    Horde(CLayer *pr_LayerPam);
    virtual ~Horde();
    void Execute();
    void BringTheHorde();
    void HordeMovement();
    void HordeMoveForward();
    void CheckLimit();
    void EnemyCreate(const CVector& cv);

    CLayer* pr_Layer;
    CAccum hordeMovementTimer;
    std::vector<Enemy*> enemyList;
    e_moveDirection moveDirection;
    bool alreadyMoved;

};

#endif

